Skip to main content
Version: 3.x.x

QueueDataType


import { QueueDataType } from "@hyper-fetch/core"

Description

Defined in dispatcher/dispatcher.types.ts:20

Preview

type QueueDataType<Request> = {
requests: QueueElementType<Request>[];
stopped: boolean;
}

Structure

{
requests: {
request: Request;
requestId: string;
retries: number;
stopped: boolean;
timestamp: number;
}[];
stopped: boolean;
}